Pod::Spec.new do |s|
  s.name         = "Koala"
  s.version      = "0.0.9"
  s.summary      = "Koala is a ios application framework"

  s.license      = { :type => "MIT", :file => "license.txt" }
  s.homepage     = 'http://gitlab.alibaba-inc.com/lingfei.whf/koala'
  s.author       = { "Koala Team" => "lingfei.whf@taobao.com" }
  s.source       = { :git => "git@gitlab.alibaba-inc.com:lingfei.whf/koala.git", :tag => '0.0.9' }

  s.platform              = :ios
  s.ios.deployment_target = '6.0'
  s.requires_arc          = true


  s.source_files = "Koala/*.{h,m}"


  s.dependency 'RegExCategories', '1.0'
  s.dependency 'CocoaLumberjack',  '2.0.0-beta'
  s.dependency 'JSONModel',        '~> 1.0.1'
  s.dependency 'ReactiveCocoa',    '2.4.2'
  s.dependency 'TMCache',           '~> 1.2.3'
  s.dependency 'SVProgressHUD',     '1.0'
  s.dependency 'SDWebImage',        '~> 3.7.1'
  s.dependency 'ReactiveViewModel', '0.3'
  s.dependency 'libextobjc',        '~> 0.4.1'
  s.dependency 'AFNetworking',      '~> 2.5.1'
  s.dependency 'AFNetworking-RACExtensions', '0.1.6'
  s.dependency 'Masonry',           '~> 0.5.3'
  s.dependency 'Reachability'


  s.subspec 'Header' do |header|
    header.source_files = "Koala/Header/**/*.{h,m,mm}"
  end

  s.subspec 'Animation' do |animation|
    animation.source_files = "Koala/Animation/**/*.{h,m,mm}"
  end

  s.subspec 'Application' do |application|
    application.source_files = "Koala/Application/**/*.{h,m,mm}"
  end

  s.subspec 'Exception' do |exception|
    exception.source_files = "Koala/Exception/**/*.{h,m,mm}"
  end

  s.subspec 'Foundation' do |foundation|
    foundation.source_files = "Koala/Foundation/**/*.{h,m,mm}"
  end

  s.subspec 'Log' do |log|
    log.source_files = "Koala/Log/**/*.{h,m,mm}"
  end

  s.subspec 'MVVM' do |mvvm|
      mvvm.source_files = "Koala/MVVM/**/*.{h,m,mm}"
  end

  s.subspec 'RAC' do |rac|
    rac.source_files = "Koala/RAC/**/*.{h,m,mm}"
  end

  s.subspec 'RegEx' do |regEx|
    regEx.source_files = "Koala/RegEx/**/*.{h,m,mm}"
  end

  s.subspec 'Router' do |router|
    router.source_files = "Koala/Router/**/*.{h,m,mm}"
  end

  s.subspec 'Runtime' do |runtime|
     runtime.source_files = "Koala/Runtime/**/*.{h,m,mm}"
   end

   s.subspec 'Service' do |service|
     service.source_files = "Koala/Service/**/*.{h,m,mm}"
   end

  s.subspec 'Tool' do |tool|
    tool.source_files = "Koala/Tool/**/*.{h,m,mm}"
  end

  s.subspec 'UIKit' do |uikit|
     uikit.source_files = "Koala/UIKit/**/*.{h,m,mm}"
  end


  s.frameworks = 'CoreData', 'QuartzCore', 'UIKit', 'AssetsLibrary', 'CoreLocation', 'CoreMotion'
  s.ios.library = 'stdc++'


  s.prefix_header_contents = '#import "Koala.h"'
  
end